package com.cloud.hotline.api.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "to_hotline_street_record")
public class ToHotlineStreetRecord {
    @Id
    @Column(name = "record_id")
    private Integer recordId;

    @Column(name = "yessw_num")
    private String yesswNum;

    @Column(name = "record_type_name")
    private String recordTypeName;

    @Column(name = "reporter_name")
    private String reporterName;

    private String address;

    @Column(name = "call_num")
    private String callNum;

    @Column(name = "dispatch_type")
    private String dispatchType;

    @Column(name = "unit_name")
    private String unitName;
    
    @Column(name = "unit_type")
    private Integer unitType;

    @Column(name = "nonstat_reason")
    private String nonstatReason;

    @Column(name = "state_date")
    private Date stateDate;

    @Column(name = "insert_time")
    private Date insertTime;

    @Column(name = "delete_flag")
    private Integer deleteFlag;

    @Column(name = "delete_time")
    private Date deleteTime;

    @Column(name = "record_desc")
    private String recordDesc;
    
    @Transient
    private String errorMsg = "";

    /**
     * @return record_id
     */
    public Integer getRecordId() {
        return recordId;
    }

    /**
     * @param recordId
     */
    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    /**
     * @return yessw_num
     */
    public String getYesswNum() {
        return yesswNum;
    }

    /**
     * @param yesswNum
     */
    public void setYesswNum(String yesswNum) {
        this.yesswNum = yesswNum;
    }

    /**
     * @return record_type_name
     */
    public String getRecordTypeName() {
        return recordTypeName;
    }

    /**
     * @param recordTypeName
     */
    public void setRecordTypeName(String recordTypeName) {
        this.recordTypeName = recordTypeName;
    }

    /**
     * @return reporter_name
     */
    public String getReporterName() {
        return reporterName;
    }

    /**
     * @param reporterName
     */
    public void setReporterName(String reporterName) {
        this.reporterName = reporterName;
    }

    /**
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return call_num
     */
    public String getCallNum() {
        return callNum;
    }

    /**
     * @param callNum
     */
    public void setCallNum(String callNum) {
        this.callNum = callNum;
    }

    /**
     * @return dispatch_type
     */
    public String getDispatchType() {
        return dispatchType;
    }

    /**
     * @param dispatchType
     */
    public void setDispatchType(String dispatchType) {
        this.dispatchType = dispatchType;
    }

    /**
     * @return unit_name
     */
    public String getUnitName() {
        return unitName;
    }

    /**
     * @param unitName
     */
    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    /**
     * @return nonstat_reason
     */
    public String getNonstatReason() {
        return nonstatReason;
    }

    /**
     * @param nonstatReason
     */
    public void setNonstatReason(String nonstatReason) {
        this.nonstatReason = nonstatReason;
    }

    /**
     * @return state_date
     */
    public Date getStateDate() {
        return stateDate;
    }

    /**
     * @param stateDate
     */
    public void setStateDate(Date stateDate) {
        this.stateDate = stateDate;
    }

    /**
     * @return insert_time
     */
    public Date getInsertTime() {
        return insertTime;
    }

    /**
     * @param insertTime
     */
    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    /**
     * @return delete_flag
     */
    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    /**
     * @param deleteFlag
     */
    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    /**
     * @return delete_time
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * @param deleteTime
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * @return record_desc
     */
    public String getRecordDesc() {
        return recordDesc;
    }

    /**
     * @param recordDesc
     */
    public void setRecordDesc(String recordDesc) {
        this.recordDesc = recordDesc;
    }

	public Integer getUnitType() {
		return unitType;
	}

	public void setUnitType(Integer unitType) {
		this.unitType = unitType;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
    
    
}